package com.liu.auth.feign.api;

import com.liu.shop.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "shop-shopcar",path = "shopcar")
public interface ShopCarServices {

    @GetMapping("/getUserCarCount")
    public Integer getUserCarCount();

    // 合并购物车
    @GetMapping("/mergeCar")
    public R mergeCar(@RequestParam("uid") String uid);
}
